<%@ include file="../tagJSONLibIncludes.jsp" %>
{
   form1:{title:'<fmt:message key="classDef.title.security"/>',
   form:{actionUrl: '${auth}/classDef/${classDefType}/${selectedClassDefId}/security/search',
   formName: 'secSearchform',
   fields:[{name:"searchName", label:"<fmt:message key="secSearchform.searchName"/>",type:"text", value:""},
      {name:"type", label:"<fmt:message key="secSearchform.type"/>",type:"radio", datasource:["GROUP","USER","BOTH"], value:"USER"}],
   buttons:[{name:"btnReset", label:"<fmt:message key="btn.reset"/>", type:"reset"},{name:"btnAdd", label:"<fmt:message key="btn.search"/>", type:"button"}]
   }},
   form2:{title:'',
   form:{actionUrl: '${auth}/classDef/${classDefType}/${selectedClassDefId}/security/assign',
   formName: 'secform',
   fields:[{name:'JSONSecurityIds', type:'arrow', 
            value:{hasAllData:false,leftData:{title:'<fmt:message key="security.title.leftColumn"/>',data:[]},
            rightData:{title:'<fmt:message key="security.title.rightColumn"/>',data:[]}
            }}],
   buttons:[{name:"btnCancel", label:"<fmt:message key="btn.cancel"/>", type:"button"},{name:"btnReset", label:"<fmt:message key="btn.reset"/>", type:"reset"},{name:"btnAdd", label:"<fmt:message key="btn.assign"/>", type:"button"}]
  }},
  pageUI:[{type:"panel",content:[{type:"form", name:"form1"},{type:"form", name:"form2"}]}]
}